*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

.container{
  max-width: 40rem;
  margin: 0 auto;
  background: linear-gradient(to top right, #f01d39, #fa2d6e);
  height: 34rem;
  border-radius: 0 0 50px 50px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 35px 0 rgba(240, 29, 57, 0.5);
}

.nav-bar{
  background: #fff;
  width: 100%;
  height: 7rem;
  position: absolute;
  left: 0;
  bottom: 0;
  filter: url("#fancy-goo");
}

.nav-bar svg{
  height: 3rem;
  margin-bottom: 4px;
  position: relative;
  z-index: 10;
  transition: all .4s;
  display: inline-block;
}

.nav-bar ul{
  display: flex;
  height: 100%;
}

.nav-bar ul li{
  height: 100%;
  text-align: center;
  list-style: none;
  align-items: center;
  display: flex;
  cursor: pointer;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  flex: 1;
}

.nav-bar ul li span{
  font-weight: 600;
  width: 100%;
  display: block;
  text-align: center;
  transition: all .22s;
}

.nav-bar ul li:after{
  width: 50%;
  height: 50%;
  border-radius: 100%;
  content: '';
  left: 0;
  right: 0;
  margin: 0 auto;
  top: 0;
  z-index: 0;
  position: absolute;
  background: #fff;
  transition: all .4s;
}

.nav-bar ul li:hover:after{
  transform: translate3d(0, -15%, 0);
}

.nav-bar ul li.active:after{
  transform: translate3d(0, -40%, 0);
}

.nav-bar ul li.active span,
.nav-bar ul li:hover span{
  color: #f01d39;
}

.nav-bar ul li.active svg{
  transform: scale(1.12) translate3d(0, -10px, 0);
}

.nav-bar ul li:not(.active):hover svg{
  transform: scale(1.049) translate3d(0, -4px, 0);
}

.nav-bar ul li svg path{
  transition: all .4s;
}

.nav-bar ul li:hover svg path,
.nav-bar ul li.active svg path{
  fill: #f01d39;
}

@media screen and (max-width: 400px){
  .nav-bar svg{
    height: 1.5rem;
  }
  
  .nav-bar ul li span{
    font-size: .75rem;
    font-weight: 500;
  }  
  
  .nav-bar ul li.active:after{
    transform: translate3d(0, -25%, 0);
  }
}